﻿Public Class List
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'ALTERNATE BETWEEN ALL PROJECTS AND CATAGORIZED
        If Request.Params("CatagoriesName") = "" Then
            GridView1.DataSourceID = "ArduinoPlayground_SqlDataSource1"
        Else
            GridView1.DataSourceID = "ArduinoPlayground_SqlDataSource2"
        End If
    End Sub
End Class